<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<jsp:include page="../../commonCss.jsp" />
<title>校园音乐喷泉后台管理</title>
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/user.css" />
</head>
<body>
	<div class="layui-container">
		<div id="mform" style="height: 290px;">
			<div class="div1">欢迎注册校园音乐喷泉后台管理</div>
			<form action="${pageContext.request.contextPath}/user/addUserHTInfo"
				method="post">
				<label>用户名：</label> <input type="text" name="admin"
					placeholder="请输入用户名" class="input1" required="required"></input> <br />
				<label>密&nbsp;&nbsp;&nbsp;&nbsp;码：</label> <input type="password"
					name="password" placeholder="请输入密码" class="input1"
					required="required"></input> <br /> <label
					style="margin-left: -10px;">注册时间：</label> <input type="text"
					name="create_time" class="input1" id="time" required="required"></input>
				<br /> <input type="submit" value="注册" class="btn"></input>
			</form>
		</div>
	</div>
</body>
<script type="text/javascript">
	function datetime() {
		var now = new Date();
		var s = now.getSeconds();
		if (s <= 9) {
			s = "0" + now.getSeconds();
		}
		if (now.getMinutes() <= 9) {
			document.getElementById("time").value = now.getFullYear() + "-"
					+ (now.getMonth() + 1) + "-" + now.getDate();
			document.getElementById("time").value += " " + now.getHours() + ":"
					+ "0" + now.getMinutes() + ":" + s;
		} else {
			document.getElementById("time").value = now.getFullYear() + "-"
					+ (now.getMonth() + 1) + "-" + now.getDate();
			document.getElementById("time").value += " " + now.getHours() + ":"
					+ now.getMinutes() + ":" + s;
		}
	}
	window.setInterval("datetime()", 1000);
</script>
</html>